package com.reitgn.project.entity;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Demo entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "demo", catalog = "doradodemo")
public class Demo implements java.io.Serializable {

	// Fields

	private Integer demoid;

	// Constructors

	/** default constructor */
	public Demo() {
	}

	/** full constructor */
	public Demo(Integer demoid) {
		this.demoid = demoid;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name = "demoid", unique = true, nullable = false)
	public Integer getDemoid() {
		return this.demoid;
	}

	public void setDemoid(Integer demoid) {
		this.demoid = demoid;
	}

}